package com.qingke.POJO;

public class HelloABasicAction {
	private String word;
	private Message message;
	
	public HelloABasicAction(){
		
	}
	public String getWord() {
		return word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "HelloABasicAction [word=" + word + ", message=" + message + "]";
	}
	public String execute(){
		word = "basic pojo";
		message = new Message();
		message .setMessage(word);
		message.setName(this.getClass().getName());
		return "success";
		
	}
}
